package Date_study;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Scanner;

public class Date_homework {
    public static void main(String[] args) throws ParseException {
        Date date = new Date();
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy年MM月dd日");
        String nowTime = new Scanner(System.in).next();
        Date text = sdf.parse(nowTime);
        long time = date.getTime()-text.getTime();
        System.out.println(time/(24*60*60*1000)+'天');
        System.out.println(date);
    }
}
